function e_ = eq(t1, t2)%eq method for class dXtarget: check for equivalent instances%   e_ = eq(t1, t2)%%   Some DotsX classes have eq methods which compare all the properties of%   two instances to determine whether they are equivalent.%%   Returns boolean TRUE if instances are equivalent, FALSE if not.%%----------Special comments-----------------------------------------------%-%%-% Overloaded eq method for class dXtarget%----------Special comments-----------------------------------------------%%   See also eq dXtarget% written 8/28/03 by jige_ = size(t1.pointList, 1) == size(t2.pointList, 1) && ...    all(t1.pointList(:) == t2.pointList(:)) && ...    length(t1.color, 1) == length(t2.color, 1) && ...    all(t1.color(:) == t2.color(:));